<?php if(!empty($images)):?>
<?php foreach($images as $image):?>
	<li class="thumbnail">
		<a href="javascript:void(0);" onclick="javascript:FacebookPhotoBox.deselect(this);">
			<i class="icon icon-red icon-remove over"></i>
			<img width="75" height="75" src="<?php echo $image['url1']?>">
			<input name="data[Attach][]" type="hidden" value="<?php echo $image['url1'].'|'.$image['url2']?>">
		</a>
	</li>	
<?php endforeach;?>
<?php endif;?>